<admintpl file="header"/>
<link rel="stylesheet" href="__PUBLIC__/css/jquery.datetimepicker.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">
<link rel="stylesheet" href="__PUBLIC__/css/act_info.css">
<script src="__PUBLIC__/js/uploadify/jquery2.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/uploadify/jquery.uploadify.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/jquery.form.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/uploadify/uploadify.css">
<script src="__PUBLIC__/js/laydate.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/selectcity/cityselect.js"></script>
<link rel="stylesheet" href="__PUBLIC__/js/selectcity/cityselect.css">

<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/clockpicker/bootstrap-clockpicker.min.css">
<script type="text/javascript" src="__PUBLIC__/js/clockpicker/bootstrap-clockpicker.min.js"></script>

<style type="text/css">
    .hidden {
        display: none;
    }

    .popover-title span{
        min-height: 1px;
        float:none;
        margin-left: 0px;
    }


    label{cursor:default}
</style>
</head>
<body>

<div class="manage">
    <span><a href="{:U('Special/main')}">活动管理</a></span><span><a href="#">运营管理</a></span>
</div>

<div class="act_main"><a href="{:U('Special/main')}">活动管理</a>
        <span class="act-nav">
          <a href="{:U('Grab/index')}">秒杀活动</a>
        </span>
</div>
<div class="wrap">
    <div class="act_title">
        <div class="act_left">
            <span class="act_all" data-shoptype=""><a href="#" class="rehref" style="color: #000">添加秒杀活动</a></span>
        </div>
    </div>
    <div class="form-horizontal Jactadd">
        <div class="control-group">
            <label class="control-label act-info">活动信息……</label>

            <div class="controls act_right text-center">
                <ul>
                    <li><a href="{:U('Grab/index')}">> <span>返回秒杀活动</span></a></li>
                </ul>
            </div>
        </div>


        <div class="control-group">
            <label class="control-label ">活动标题</label>
            <div class="controls">
                <input type="text" name="Name" placeholder="请添加活动标题" maxlength="20">
                <span class="form-required">*</span>
            </div>
        </div>


        <div class="control-group">
            <label class="control-label ">活动说明</label>

            <div class="controls">
                <textarea name="ShopDesc" class="form-control Businessdesc" rows="10" cols="30" ></textarea>
                <span class="form-required">*</span>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label ">奖品数量限制</label>
            <div class="controls">
                <input type="text" name="prizeLimit" value="1">
                <span class="form-required">*</span>
            </div>
        </div>

        <!-----------活动场次概况---------->
        <div class="garbtimes">
            <div class="activity-info">
                <div class="control-group">
                    <label class="control-label act-info">活动场次……（<span class="playnuminfo">0</span>个场次）</label>
                    <!--<a href="javascript:void(0)" class="btn btn-info JaddvisitList">+添加场次</a>-->
                </div>
            </div>

            <div class="JactivityTotal">
                <div class="JactivityPlayInfo"><div class="Jmanyactivity">
                    <div class="actdetail"> <span class="survey">活动场次概况</span> </div> <div class="modal-body">
                    <div class="control-group form-horizontal addPlay">
                        <div class="control-group">
                            <label class="control-label">活动城市：</label>
                            <div class="controls">
                                <label class="control-label" style="text-align: left;">
                                    <a href="javascript:void(0)" class="addVisit">添加城市</a>
                                </label>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label"></label>
                            <div class="controls">
                                <div class="controls addPlayCity">
                                    <div class="CitySelectInfo"></div>
                                </div>
                            </div>
                        </div>


                        <div class="control-group">
                            <label class="control-label">活动日期：</label>
                            <div class="controls">
                                <label class="control-label" style="text-align: left;">
                                    <a href="javascript:void(0)" class="addTime">添加活动日期：</a>
                                </label>
                            </div>
                        </div>
                        <div class="control-group Timeslot"> </div>

                        <div class="control-group">
                            <label class="control-label">活动时段：</label>
                            <div class="controls">
                                <label class="control-label" style="text-align: left;">
                                    <a href="javascript:void(0)" class="addTimesTime">添加活动时段：</a>
                                </label>
                            </div>
                        </div>
                        <div class="control-group timeTimeslot"> </div>

                    </div>
                </div>

                 <div class="activityNumber"> </div>
                </div>
              </div>
            </div>

        </div>


        <div class="form-actions">
            <button type="submit" class="btn btn-primary Jsubmit checkSubmit">保存</button>
        </div>
    </div>
</div>
<script type="text/javascript">

    var addacturl = "{:U('Grab/addGarbHandle')}";
    var editacturl = "{:U('Grab/view')}";
    var m=1;
    new Vcity.CitySelector({input:'citySelect'+m});

    //var s='1500010406'; console.log(s.slice(0,3)+s.slice(3,7).replace(/./g,'*')+s.slice(-3));


    $(function () {
        $('.rehref').click(function () {
            location.reload();
        })
    })

</script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/js/artDialog/artDialog.js"></script>
<script src="__PUBLIC__/js/grab.js"></script>

</body>
</html>